home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_a_d / 31updt.zip / README < prev    next >
Text File  |  1991-09-01  |  4KB  |  115 lines

  1.              Welcome to Borland C++ and the Windows 3.1 SDK
  2.              ----------------------------------------------
  3.  
  4. Using Borland C++ 2.0 to create Windows 3.1 applications is fairly easy.
  5. Only minor changes to windows.h and a new import.lib file are needed.  This
  6. diskette contains an archive file called 31UPDATE.ZIP that contains in it new
  7. versions of several header files included with Borland C++ 2.0 as well as a
  8. new version of import.lib.  The README file describes the installation process
  9. and any other changes necessary which allow Borland C++ 2.0 to create
  10. Windows 3.1 applications.  Please read this file in its entirety.
  11.  
  12.  
  13. TABLE OF CONTENTS
  14. -----------------
  15. 1.  How to Get Help
  16. 2.  Installation
  17. 3.  MakeProcInstance and FreeProcInstance
  18. 4.  Using Import Libraries
  19. 5.  Using Turbo Debugger for Windows
  20. 6.  Important Information
  21.  
  22.  
  23. 1. HOW TO GET HELP
  24. -------------------
  25.   If you have a question and need assistance, help is available from the
  26.   following sources:
  27.  
  28.   1. Type GO BPROGB on the CompuServe bulletin board system for
  29.      instant access to the Borland forums with their libraries of
  30.      technical information and answers to common questions.
  31.  
  32.      If you are not a member of CompuServe, see the enclosed
  33.      special offer, and write for full details on how to receive
  34.      a free IntroPak containing a $15 credit toward your first
  35.      month's on-line charges.
  36.  
  37.   2. Check with your local software dealer or users' group.
  38.  
  39.   3. If you have an urgent problem that cannot wait and you have
  40.      sent in the license agreement that came with the package,
  41.      you may call the Borland Technical Support Department at
  42.      (408) 438-5300. Please have the following information ready
  43.      before calling:
  44.  
  45.      a. Product version number. The version number for Borland
  46.         C++ can be displayed by pressing Alt-Space/A.
  47.  
  48.      b. Computer brand, model, and the brands and model numbers of
  49.         any additional hardware.
  50.  
  51.      c. Operating system and version number. (The version number
  52.         can be determined by typing VER at the MSDOS prompt.)
  53.  
  54.      d. Contents of your AUTOEXEC.BAT file.
  55.  
  56.      e. Contents of your CONFIG.SYS file.
  57.  
  58.  
  59. 2. INSTALLATION
  60. ----------------
  61.     To install the files included on this diskette copy 31UPDATE.ZIP from
  62.     the floppy diskette into the BORLANDC\BIN directory on your local
  63.     hard disk.
  64.  
  65.     Once you have copied the archive file included within to your hard
  66.     disk execute the following commands.
  67.  
  68.         unzip /o 31update.zip *.h ..\include
  69.         unzip /o 31update.zip *.lib ..\lib
  70.  
  71.     The unzip utility will unpack the file contained in 31UPDATE.ZIP and
  72.     place them in the directory specified on the command line.  Once this
  73.     file has been dearchived you will have installed new versions of the
  74.     header files used in a Windows application as well as a new import.lib.
  75.  
  76.  
  77. 3. MAKEPROCINSTANCE AND FREEPROCINSTANCE
  78. ----------------------------------------
  79. A change MUST be made to several sample applications included in the
  80. Windows 3.1 SDK when a call to MakeProcInstance or FreeProcInstance exists.
  81. A cast to FARPROC needs to be inserted in front of the function name being
  82. passed to either MakeProcInstance or FreeProcInstance.  Below is an example
  83. of what the change needed is:
  84.  
  85.     Old code:
  86.         lpProcAbout = MakeProcInstance(About, hInst);
  87.  
  88.     New code:
  89.         lpProcAbout = MakeProcInstance((FARPROC) About, hInst);
  90.  
  91.  
  92. 4. USING IMPORT LIBRARIES
  93. -------------------------
  94. All import libraries included with the Windows 3.1 SDK, with the exception of
  95. libw.lib, can be used directly with Borland C++ 2.0 without any changes or
  96. modifications.
  97.  
  98. Libw.lib is replaced with a new version of IMPORT.LIB that can be found in
  99. the archive file 31UPDATE.ZIP.
  100.  
  101.  
  102. 5. USING TURBO DEBUGGER FOR WINDOWS
  103. -----------------------------------
  104. In order to user Turbo Debugger with Windows 3.1 you need only replace the
  105. file windebug.dll shipped with Borland C++ 2.0 with the one included in the
  106. Windows 3.1 SDK.  Remember to save the existing version of windebug.dll for
  107. future use.
  108.  
  109.  
  110. 6. IMPORTANT INFORMATION
  111. ------------------------
  112. Please note that additional changes to specific header files shipped with
  113. the Windows 3.1 SDK may be necessary in order to compile the example programs
  114. included with the new SDK.
  115.